Release 10.1A: OpenEdge Application Server:
Developing WebSpeed Applications


get-messages

This function returns any messages queued for the specified message group or any message group if the specified group is Unknown value (?). Messages are returned delimited by a linefeed character (~n).

Location: web\method\message.i

Parameters:

INPUT p_grp AS CHARACTER

A known message group into which messages may have been queued with the queue-message function. The Unknown value (?) indicates all message groups.

INPUT p_delete AS LOGICAL

Indicates if the message queue should be emptied. If TRUE is specified, the messages are removed from the queue. If FALSE is specified, the messages remain queued.

Returns: CHARACTER

Notes: All queued messages are output after the Web object specified in a URL returns. As such, messages do not remain queued between requests.

Examples: See the output-messages procedure in web\method\message.i.

See also:

available-messages

get-message-groups

output-messages

queue-message


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095